﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

using KSOAdmin.Models.Base;

namespace KSOAdmin.Models.DomainModels.System
{
    [Table("Sys_RoleList")]
  
    public class Sys_RoleList :BaseModel, ModelSign
    {
       /// <summary>
       ///
       /// </summary>
       [Display(Name = "Sys_Role_ID")]
       [Column(TypeName="int")]
       public int? Sys_Role_ID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name = "Sys_Menu_Id")]
       [Column(TypeName="int")]
       [Required(AllowEmptyStrings=false)]
       public int Sys_Menu_Id { get; set; }

       /// <summary>
       ///用户权限
       /// </summary>
       [Display(Name ="用户权限")]
       [MaxLength(1000)]
       [Column(TypeName="nvarchar(1000)")]
       [Required(AllowEmptyStrings=false)]
       public string AuthValue { get; set; }

    }
}
